//
//  DetailPage.h
//  AsyncImages
//
//  Created by Matthew on 11-12-25.
//  Copyright 2011年 develop4u.gr. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ImageUIButton.h"
#import "DolphinUIWebLayer.h"
#import "MediaBookXMLParser.h"
#import "UIImageLayer.h"
#import "ImageLayerCell.h"

@class ImageUIButton;
@class MediaBookXMLParser;
@class UIImageLayer;

@interface DetailPage : UIView <UIScrollViewDelegate,UIActionSheetDelegate>
{
    MediaBookXMLParser *detailXMLParser;
    
    UISegmentedControl *seg;
    BOOL segClicked;
    
    NSString *htmlData;
    NSString *urlPrefix;
    
    UILabel *titleText;
    UILabel *dateText;
    UILabel *infoText;
    UILabel *detailText;
    UIImageLayer *centerImg;
    
    UIScrollView *scrollView; 
    
    UIActivityIndicatorView *activityIndicator;
    
    NSString *suffix;
    NSString *load_page_over_msg;
    
    BOOL imageLoaded;
    
    NSString *curUrl;
}

-(void) setURLPrefixByURL:(NSString *)inURL;
-(void) triggerByBuildId:(NSString *)inId;

-(void) clean;
-(void) configMsg;
-(void) reset;

@property (nonatomic, copy) NSString *suffix;

@end
